<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Crea Maestro</title>
    </head>
    <body>
        <h1>Crea maestro ${maestro.empleado}</h1>
        <form method="post" action="<%= request.getContextPath() %>/maestro/nuevo">
            
            
            <table>
                <tbody>

                    <tr>
                        <td>Empleado</td>
                        <td><input type="text" name="empleado" value="${maestro.empleado}"/></td>
                    </tr>
                    <tr>
                        <td>Nombre</td>
                        <td><input type="text" name="nombre" value="${maestro.nombre}"/></td>
                    </tr>
                    <tr>
                        <td>Apellido</td>
                        <td><input type="text" name="apellido" value="${maestro.apellido}"/></td>
                    </tr>
                    <tr>
                        <td>Correo</td>
                        <td><input type="text" name="correo" value="${maestro.correo}"/></td>
                    </tr>
                    <tr>
                        <td colspan="2"><input type="submit" value="Crea nuevo maestro"/></td>
                    </tr>
                </tbody>
            </table>
        </form>
    </body>
</html>
